/*  =========================================
    主体公用部分样式
    =========================================*/
input[type="text"].form-control:focus, textarea.form-control:focus {
    border-color: #ff9201;
    box-shadow: rgba(255, 146, 1, .1) 0 0 0 2px;
}

.forum-square {
    background: #edf1f9 url("../images/forum/forum-bg.png") repeat-x scroll 0 0;
}

.forum-square:before {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 100%;
    height: 404px;
    background: url("../images/forum/forum-bg.jpg") no-repeat scroll center top;
    content: "";
}

.forum-square > .forum-title {
    position: relative;
    z-index: 2;
    max-width: 1360px;
    padding: 24px 30px 0;
    margin: 0 auto -6px;
}

.forum-container {
    position: relative;
    z-index: 3;
    display: flex;
    max-width: 1360px;
    padding: 30px;
    margin: 0 auto;
}

.forum-container .forum-main {
    flex-grow: 1;
}

.forum-container .forum-sidebar {
    flex-grow: 0;
    flex-shrink: 0;
    width: 300px;
    margin-left: 22px;
}

.forum-sidebar .sidebar-sticky {
    position: sticky;
    top: 30px;
}

.forum-card,
.sidebar-information,
.sidebar-box {
    margin-bottom: 20px;
    border-radius: 6px;
    background: #fff;
}

.btn-forum {
    border: none;
    background: #ff9201;
    color: #fff;
}

.btn-forum:not(:disabled):hover {
    background: #ff7801;
    box-shadow: rgba(255, 120, 1, .7) 0 3px 7px;
    color: #fff;
}

.btn-forum:active {
    box-shadow: rgba(255, 120, 1, .1) 0 2px 5px;
    color: #fff;
}

.btn-forum:disabled {
    color: #fff;
}

.btn-forum:focus {
    color: #fff;
}

span.level {
    display: inline-block;
    padding: 0 2px 0 3px;
    margin-left: 6px;
    border-radius: 2px;
    background: #ff0000;
    line-height: 14px;
    font-family: Arial, sans-serif;
    font-size: 10px;
    color: #fff;
    vertical-align: 2px;
}

span.level span {
    display: block;
    transform: scale(0.82);
}

.emoji_container {
    z-index: 1000;
}

div#forumContent > p.nodata {
    height: 320px;
    text-align: center;
    line-height: 120px;
    font-size: 20px;
    color: #e0e0e0;
}

.card.forum-card + p.nodata {
    display: none;
}

.emoji_container {
    width: 520px;
}

/*  =========================================
    发布功能模块
    =========================================*/
.publish-box {
    min-height: 260px;
    padding: 0 30px;
}

.publish-box h5 {
    position: relative;
    height: 46px;
    padding: 10px 0 0 14px;
    line-height: 36px;
    font-weight: bold;
    font-size: 15px;
    color: #8899bb;
}

.forum-content > h4:before,
.publish-box h5:before {
    position: absolute;
    left: 0;
    top: 20px;
    display: block;
    width: 4px;
    height: 14px;
    background: #ff7100;
    content: "";
}

.publish-box textarea {
    width: 100%;
    height: 152px;
    padding: 8px 12px;
    border: #d0cfd0 solid 1px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 24px;
    resize: none;
}

.publish-action {
    height: 56px;
    padding: 10px 0 14px;
}

.publish-action > div > .pull-left {
    display: block;
    margin: 0 30px 0 0;
    line-height: 32px;
    font-size: 14px;
    color: #666666;
}

.publish-action a {
    color: #666666;
}

.publish-action i.mdi {
    padding-right: 5px;
    font-size: 16px;
}

.publish-emoticon > a:hover,
.publish-emoticon > a i.mdi {
    color: #ff6c00;
}

.publish-action > div > .publish-pic:hover,
.publish-pic i.mdi {
    color: #4460f2;
    cursor: pointer;
}

.publish-action > div > .publish-video:hover,
.publish-video i.mdi {
    color: #69b300;
    cursor: pointer;
}

.publish-hottopic > a:hover,
.publish-hottopic > a i.mdi {
    color: #ff9f20;
}

.publish-power {
    margin-right: 30px;
}

.publish-power > a {
    display: inline-block;
    line-height: 32px;
}

.publish-action .btn-forum {
    width: 90px;
    height: 32px;
    padding: 0;
    border-radius: 3px;
    font-size: 14px;
}

.publish-img-box {
    padding: 0;
    margin: 0;
}

.publish-img-box li {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 12px 12px 0 0;
    border-radius: 8px;
    background: #f7f7f7;
    box-shadow: rgba(0, 0, 0, .1) 0 5px 12px;
    overflow: hidden;
    float: left;
}

.publish-img-box li.video-preview {
    width: 320px;
    height: 200px;
}

.publish-img-box li.video-preview video {
    width: 100%;
    height: 100%;
    background: #3c3d44;
}

.publish-img-box li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.publish-img-box li i.mdi-close {
    position: absolute;
    right: 6px;
    top: 6px;
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    background: #ff4f5e;;
    color: #ffffff;
    line-height: 20px;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
    transition: .2s;
}

.publish-img-box li i.mdi-close:hover {
    box-shadow: rgba(255, 79, 94, .6) 0 3px 7px;
}

/*  =========================================
    主体内容模块
    =========================================*/
.forum-content {
    border-radius: 6px;
    background: #fff;
}

.forum-content > h4 {
    position: relative;
    height: 49px;
    margin: 0 30px;
    padding-left: 14px;
    border-bottom: #f2f2f2 solid 1px;
    line-height: 48px;
    font-size: 15px;
    color: #8899bb;
    font-weight: bold;
}

.forum-content > h4:before {
    top: 17px;
}

.forum-content .forum-card {
    position: relative;
    padding: 20px 30px 0;
    margin-bottom: 0;
    border-bottom: #f8f8f8 solid 8px;
    border-radius: 0;
}

.forum-card:hover > a.delete {
    visibility: visible;
    opacity: 1;
}

.forum-card > a.delete {
    position: absolute;
    right: 30px;
    top: 25px;
    z-index: 10;
    display: block;
    width: 58px;
    height: 26px;
    border: #eee solid 1px;
    border-radius: 4px;
    line-height: 24px;
    font-size: 12px;
    text-align: center;
    color: #999;
    opacity: 0;
    visibility: hidden;
    transition: .2s;
}

.forum-card > a.delete i {
    display: inline-block;
    margin-right: 2px;
    font-size: 15px;
    color: inherit;
    vertical-align: top;
    opacity: .6;
}

.forum-card > a.delete:hover {
    border-color: #ff9201;
    color: #ff9201;
}

.forum-card > a.delete:hover i {
    opacity: 1;
}

.forum-card .forum-card-header {
    position: relative;
    padding-left: 74px;
    min-height: 60px;
    margin-bottom: 12px;
    line-height: 26px;
}

.forum-card-header .head {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    border: #999999 solid 1px;
    border-radius: 60px;
    background: #fff;
    overflow: hidden;
}

.forum-card-header .head img {
    width: 100%;
    height: 100%;
}

.forum-card-header h5 {
    padding-top: 5px;
    margin: 0;
    font-size: 14px;
    line-height: 26px;
}

.forum-card-header h5 a {
    color: #333;
    font-weight: bold;
}

.forum-card-header h5 a:hover {
    color: #ff9201;
}

.forum-card-header h5 span {
    display: inline-block;
    padding: 0 2px 0 3px;
    margin-left: 5px;
    border-radius: 2px;
    background: #ff0000;
    line-height: 16px;
    font-size: 12px;
    color: #fff;
    transform: scale(0.8);
    vertical-align: 1px;
}

.forum-card-header p {
    margin: 0;
}

.forum-card-header p span {
    display: inline-block;
    padding-right: 12px;
    font-size: 13px;
    color: #999999;
}

.forum-card .forum-card-body {
    padding-left: 74px;
}

.forum-card-body .detail-text {
    margin: 0 8% 20px 0;
    line-height: 26px;
    font-size: 14px;
    text-align: justify;
}

a.topic-link {
    color: #ff9201;
}

a.topic-link:hover {
    text-decoration: underline;
}

.forum-card .forum-card-toolbar {
    height: 44px;
    border-top: #f8f8f8 solid 2px;
}

.forum-card-toolbar .tool-list {
    position: relative;
    width: 25%;
    height: 42px;
    line-height: 42px;
    font-size: 13px;
    text-align: center;
    float: left;
}

.forum-card-toolbar .tool-list:before {
    position: absolute;
    left: -1px;
    top: 8px;
    display: block;
    width: 2px;
    height: 26px;
    background: #e2e2e2;
    content: "";
}

.forum-card-toolbar .tool-list:first-child:before {
    content: none;
}

.forum-card-toolbar .tool-list a {
    display: block;
    color: #666666;
}

.forum-card-toolbar .tool-list a.active {
    color: #ff9201;
}

.tool-list i.mdi {
    margin-right: 6px;
    font-size: 16px;
    vertical-align: -1px;
    color: inherit;
}

.forum-card-toolbar .tool-list a:hover {
    color: #ff9201;
}

.forum-card .detail-photo {
    width: 80%;
    max-width: 648px;
    margin-bottom: 6px;
}

.forum-card .detail-photo.img-col-9 {
    max-width: 468px;
}

.forum-card .detail-photo:after {
    display: table;
    height: 0;
    clear: both;
    content: "";
}

.forum-card .detail-photo .list {
    width: 140px;
    height: 140px;
    border-radius: 8px;
    margin: 0 16px 16px 0;
    background: #f2f2f2;
    float: left;
    overflow: hidden;
}

.forum-card .detail-photo .list.video-show {
    width: 480px;
    height: 300px;
    border-radius: 0;
}

.forum-card .detail-photo .list.video-show video {
    width: 100%;
    height: 100%;
    background: #3c3d44;
}

.forum-card .detail-photo .list img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.forum-card .detail-photo.img-col-1 .list {
    max-width: 460px;
    min-width: 200px;
    min-height: 200px;
    width: auto;
    height: auto;
}

.forum-card .detail-photo.img-col-4 .list {
    width: 140px;
    height: 140px;
}

/*------评论部分------*/
.comment-content {
}

.comment-content .comment-reply {
    position: relative;
    padding: 20px 20px 20px 74px;
    background: #f8f8f8;
}

.comment-reply .head {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
}

.comment-reply .head img {
    width: 100%;
    height: 100%;
}

.comment-reply > textarea.form-control {
    height: 40px;
    margin-bottom: 10px;
    resize: none;
}

.comment-reply > .pull-left {
    display: block;
    height: 32px;
    margin: 0 24px 0 0;
    line-height: 32px;
    font-size: 14px;
    color: #666666;
}

.reply-emoticon > a {
    color: #666;
}

.reply-emoticon > a:hover {
    color: #ff6c00;
}

.comment-reply i.mdi {
    padding-right: 5px;
    font-size: 16px;
    color: #ff6c00;
}

.comment-reply i.mdi-image {
    color: #4460f2;
}

.comment-reply .reply-pic:hover {
    color: #4460f2;
    cursor: pointer;
}

.comment-reply button.btn-forum {
    width: 90px;
    height: 32px;
    padding: 0;
}

.comment-content .comment-loading {
    height: 120px;
    text-align: center;
    line-height: 100px;
}

.comment-content .comment-list {
    padding: 0 20px;
    margin-bottom: 30px;
    background: #f8f8f8;
}

.comment-list .reply-num {
    position: relative;
    height: 22px;
    margin-top: -10px;
    line-height: 22px;
}

.comment-list .reply-num:after {
    position: absolute;
    left: 0;
    top: 10px;
    z-index: 1;
    display: block;
    width: 100%;
    height: 2px;
    background: #eee;
    content: "";
}

.comment-list .reply-num span {
    position: relative;
    z-index: 2;
    display: inline-block;
    padding-right: 10px;
    background: #f8f8f8;
    line-height: 22px;
    font-size: 13px;
    color: #777;
}

.comment-list .reply-num span span {
    padding: 0 4px;
    font-weight: bold;
    color: #555;
    font-family: Arial, Verdana, sans-serif;
}

.comment-list .list {
    position: relative;
    padding: 12px 0 12px 56px;
    border-bottom: #f0f0f0 solid 1px;
}

.comment-list .list .head {
    position: absolute;
    left: 0;
    top: 16px;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background: #eee;
    overflow: hidden;
}

.comment-list .list .head img {
    width: 100%;
    height: 100%;
    vertical-align: top;
    object-fit: contain;
}

.comment-list .list-info:after {
    display: table;
    height: 0;
    clear: both;
    content: "";
}

.comment-list .list-info p {
    margin-bottom: 6px;
    text-align: justify;
    line-height: 22px;
    font-size: 13px;
    color: #555;
}

.comment-list .list-info p img.wp-smiley {
    margin: -2px 0;
}

.comment-list .list-info p > a {
    color: #ff9201;
}

.comment-list .list-info .list-time {
    line-height: 20px;
    font-size: 13px;
    font-family: Arial, sans-serif;
    color: #999;
    float: left;
}

.comment-list .list-info .list-action {
    padding-right: 10px;
    line-height: 20px;
    font-size: 13px;
    float: right;
}

.comment-list .list-action a {
    position: relative;
    display: block;
    margin-left: 21px;
    color: #666666;
    float: left;
}

.comment-list .list-action a:hover {
    color: #ff9201;
}

.comment-list .list-action a + a:before {
    position: absolute;
    left: -11px;
    top: 50%;
    display: block;
    width: 1px;
    height: 12px;
    margin-top: -6px;
    background: #ddd;
    content: "";
}

.comment-list .list-action i {
    margin-right: 6px;
    vertical-align: -1px;
    line-height: 16px;
    font-size: 16px;
    color: inherit;
}

.comment-list .comment-more {
    height: 48px;
    line-height: 48px;
    text-align: center;
    font-size: 13px;
}

.comment-list .comment-more a {
    color: #555;
}

.comment-list .comment-more a:hover {
    color: #ff9201;
}

.comment-list .replay-box {
    position: relative;
    padding: 16px 0 0 24px;
}

.comment-list .replay-box:before {
    position: absolute;
    left: 0;
    top: 20px;
    bottom: 4px;
    display: block;
    width: 3px;
    border-radius: 10px;
    background: #f0f0f0;
    content: "";
}

.comment-list .replay-box .list-info {
    padding-bottom: 10px;
}

.comment-list .replay-box .list-info:last-child {
    padding-bottom: 0;
}

.replay-box .list-info .list-action {
    display: none;
}

.replay-box .list-info:hover .list-action {
    display: block;
}

.replay-box .reply-list-more {
    display: inline-block;
    line-height: 18px;
    font-size: 13px;
    color: #ff9201;
    cursor: pointer;
}

.replay-box .reply-list-more i {
    display: inline-block;
    line-height: 18px;
    font-size: 20px;
    vertical-align: -3px;
}

.replay-box .reply-list-more:hover {
    text-decoration: underline;
}

.comment-list .reply-more {
    position: relative;
    height: 52px;
    /*margin-top: -1px;*/
    background: #f8f8f8;
    text-align: center;
}

/*.comment-list .reply-more:before {
    position: absolute;
    left: 0;
    top: 10px;
    display: block;
    width: 100%;
    height: 1px;
    background: #f0f0f0;
    content: "";
}*/

.comment-list .reply-more a {
    display: block;
    /*background: #fefefe;*/
    line-height: 48px;
    font-size: 13px;
    color: #666;
}

.comment-list .reply-more a:hover {
    color: #ff9201;
}


    /*------评论部分------*/

.forum-content > .loading-more {
    width: 100%;
    height: 46px;
    background: #f8f8f8;
    line-height: 46px;
    font-size: 13px;
    text-align: center;
    cursor: pointer;
}

.forum-content > .loading-more:hover {
    background: #fff;
    color: #ff9201;
}

/*  =========================================
    右侧栏样式
    =========================================*/
.sidebar-information {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.sidebar-information:before {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100px;
    background: #f7f7f7 url("../images/forum/head-bg.jpg") no-repeat center top;
    content: "";
}

.sidebar-information .head {
    position: relative;
    z-index: 2;
    width: 100px;
    height: 100px;
    margin: 35px auto 0;
    border-radius: 100px;
    background: #fff;
    overflow: hidden;
}

.sidebar-information .head img {
    width: 100%;
    height: 100%;
}

.sidebar-information h5 {
    height: 36px;
    margin-bottom: 0;
    line-height: 36px;
    text-align: center;
    font-size: 16px;
    color: #40424b;
}

.sidebar-information ul {
    height: 70px;
    padding: 0;
    margin: 0 20px;
    border: #ffd0a2 solid 3px;
    border-radius: 10px;
    background: #ff7f01;
    list-style: none;
}

.sidebar-information ul li {
    position: relative;
    width: 33.33%;
    text-align: center;
    float: left;
}

.sidebar-information ul li:after {
    position: absolute;
    left: -1px;
    top: 17px;
    display: block;
    width: 2px;
    height: 30px;
    background: #ffa64e;
    content: "";
}

.sidebar-information ul li:first-child:after {
    content: none;
}

.sidebar-information ul a {
    line-height: 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
}

.sidebar-information ul span {
    display: block;
    padding-top: 12px;
    line-height: 20px;
    font-size: 16px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    color: #fff;
}

.sidebar-box .sidebar-title {
    height: 42px;
    border-bottom: #f7f9fd solid 2px;
    line-height: 40px;
    font-size: 14px;
    color: #40424b;
    font-weight: bold;
}

.sidebar-box .sidebar-title i {
    display: inline-block;
    margin: 0 8px 0 18px;
    font-size: 20px;
    color: #ff9201;
    vertical-align: -3px;
}

.sidebar-box .sidebar-title i.mdi-fire {
    color: #de402b;
}

.sidebar-box ul {
    padding: 10px 20px;
    margin: 0;
    list-style: none;
}

.sidebar-box ul li {
    display: flex;
    justify-content: space-between;
    width: 100%;
    line-height: 34px;
    white-space: nowrap;
}

.sidebar-box ul em {
    flex-grow: 0;
    flex-shrink: 0;
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 9px 10px 9px 0;
    border-radius: 2px;
    background: #e2e2e2;
    line-height: 16px;
    text-align: center;
    font-size: 12px;
    font-family: Arial, sans-serif;
    color: #666666;
    font-style: normal;
}

.sidebar-box ul li:nth-child(1) em,
.sidebar-box ul li:nth-child(2) em,
.sidebar-box ul li:nth-child(3) em {
    background: #ff9201;
    color: #fff;
}

.sidebar-box ul span {
    flex-grow: 1;
    min-width: 64px;
    padding-left: 10px;
    text-align: right;
    font-size: 13px;
    color: #999999;
}

.sidebar-box ul a {
    flex-grow: 0;
    position: relative;
    font-size: 13px;
    color: #666666;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.sidebar-box ul a:hover {
    color: #ff9201;
}

.sidebar-topic ul a {
    padding: 0 12px;
}

.sidebar-topic ul a:before,
.sidebar-topic ul a:after {
    position: absolute;
    top: 0;
    left: 0;
    content: "#";
}

.sidebar-topic ul a:after {
    left: auto;
    right: 0;
}

.sidebar-topheat ul span {
    min-width: 30px;
    padding: 0;
}

.sidebar-topheat ul span i.mdi {
    font-size: 14px;
}

.sidebar-topheat ul span i.mdi-arrow-up {
    color: #d81e06;
}

.sidebar-topheat ul span i.mdi-arrow-down {
    color: #6a82ff;
}

.sidebar-topheat ul span i.mdi-trending-neutral {
    color: #c0c0c0;
}

.sidebar-box > p {
    height: 44px;
    border-top: #f7f9fd solid 2px;
    line-height: 42px;
    text-align: center;
    font-size: 13px;
}

.more-reply-modal .comment-list {
    padding: 0 12px 0 5px;
}

.more-reply-modal .modal-body {
    max-height: 520px;
    overflow: hidden;
    overflow-y: auto;
}

.modal-body .comment-list .list {
    border-bottom: none;
}

.modal-body .reply-more2 {
    height: 36px;
    margin: 0 -12px 0 -5px;
}

.modal-body .reply-more2 a {
    display: block;
    height: 36px;
    border-radius: 4px;
    background: #f2f2f2;
    text-align: center;
    line-height: 36px;
    font-size: 13px;
    color: #444;
}

.modal-body .reply-more2 a:hover {
    color: #ff9201;
}

#replyModal .modal-header {
    border-bottom: none;
}

#replyModal .modal-body {
    padding: 0 15px;
}

#replyModal .modal-body textarea {
    border-radius: 8px;
}

#replyModal .modal-footer {
    border-top: none;
}

#replyModal .modal-footer button.btn-forum {
    width: 72px;
    height: 32px;
    padding: 0;
    border-radius: 3px;
    line-height: 32px;
}






